from django.urls import path, include
from .views import *
from rest_framework import routers

router = routers.DefaultRouter()
router.register('recordIncomes', RecordIncomesViewSet, basename='recordIncomes')
router.register('recordIncomesForOutMoney', RecordIncomesForOutMoneyViewSet, basename='recordIncomesForOutMoney')
router.register('recordIncomesForShopOutMoney', RecordIncomesForShopOutMoneyViewSet, basename='recordIncomesForShopOutMoney')
router.register('recordIncomesLocked', RecordIncomesLockedViewSet, basename='recordIncomesLocked')

urlpatterns = [
    path('', include(router.urls)),
]